package org.breezeiot.protodecode.protocol;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.Date;

public class DataCumulantKey implements Serializable {
    private Short dataItem;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date dataTime;

    private Short energyType;

    private Integer pointId;

    private String commAddr;

    public Short getDataItem() {
        return dataItem;
    }

    public void setDataItem(Short dataItem) {
        this.dataItem = dataItem;
    }

    public Date getDataTime() {
        return dataTime;
    }

    public void setDataTime(Date dataTime) {
        this.dataTime = dataTime;
    }

    public Short getEnergyType() {
        return energyType;
    }

    public void setEnergyType(Short energyType) {
        this.energyType = energyType;
    }

    public Integer getPointId() {
        return pointId;
    }

    public void setPointId(Integer pointId) {
        this.pointId = pointId;
    }

    public String getCommAddr() {
        return commAddr;
    }

    public void setCommAddr(String commAddr) {
        this.commAddr = commAddr;
    }
}